home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.save / 000009_gerberb@zenez.com_Mon Oct 23 08:40:24 2006.msg < prev    next >
Internet Message Format  |  2020-01-01  |  7KB

  1. Path: reader2.panix.com!reader1.panix.com!panix!newsfeed.media.kyoto-u.ac.jp!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!m7g2000cwm.googlegroups.com!not-for-mail
  2. From: gerberb@zenez.com
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Running Kermit 3.16 via copSSH on Windows XP or older Windows connected serial devices
  5. Date: 18 Oct 2006 12:10:08 -0700
  6. Organization: http://groups.google.com
  7. Lines: 157
  8. Message-ID: <1161198608.243145.251630@m7g2000cwm.googlegroups.com>
  9. References: <Pine.LNX.4.64.0610171416170.945@xenau.zenez.com>
  10.    <slrnejcoo5.e0u.fdc@panix2.panix.com>
  11. NNTP-Posting-Host: 198.60.105.213
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset="iso-8859-1"
  14. X-Trace: posting.google.com 1161198613 26867 127.0.0.1 (18 Oct 2006 19:10:13 GMT)
  15. X-Complaints-To: groups-abuse@google.com
  16. NNTP-Posting-Date: Wed, 18 Oct 2006 19:10:13 +0000 (UTC)
  17. In-Reply-To: <slrnejcoo5.e0u.fdc@panix2.panix.com>
  18. User-Agent: G2/1.0
  19. X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060911 SUSE/1.0.5-1.1 SeaMonkey/1.0.5,gzip(gfe),gzip(gfe)
  20. Complaints-To: groups-abuse@google.com
  21. Injection-Info: m7g2000cwm.googlegroups.com; posting-host=198.60.105.213;
  22.    posting-account=dcuIBwwAAACGYdN6_x6P-BpuEmzQrAjs
  23. Xref: panix comp.protocols.kermit.misc:15579
  24.  
  25. Frank da Cruz wrote:
  26. > On 2006-10-17, Boyd Lynn Gerber <gerberb@zenez.com> wrote:
  27. .> : I can not seem to remember how I used to do this.  The machines
  28. with some
  29. > : version of MS Windows, most have Windows XP.  I use kermit to talk with
  30. > : their store registers.  The machines have a purchased copy of MS Kermit
  31. > : 3.16.
  32. > :
  33. > For the record: MS-DOS Kermit is just plain not supported on Windows XP.  It
  34. > was never intended for that platform.  Kermit 95 is the supported Kermit
  35. > software for Windows 95 and later.
  36.  
  37. They were purchased around the year 2000. +/- a year or two.
  38.  
  39. > But if the serial-port access works OK (which can happen only on certain
  40. > hardware configurations), fine.
  41.  
  42. They have been using this setup to talk to their registers since
  43. 1992/4.  They have used many different version of kermit.
  44.  
  45. > : ssh 192.168.0.200
  46. > : cd /directory/files
  47. > : ./kermit
  48. > : ...
  49. > :
  50. > : and all the files are downloaded to the machine and I am able to scp them
  51. > : to the remote box or use scp on the remote box to get the files after
  52. > : kermit has run.  But I am not able to get my scripts to remotely run
  53. > : kermit to download and then scp the files.
  54. > :
  55.  
  56. I know kermit can use ssh,  So I get the same thing.  But to eliminate
  57. scripting errors..
  58.  
  59. On linux I type kermit
  60.  
  61. linux-aostester:/zenez/work # kermit
  62. C-Kermit 8.0.211, 10 Apr 2004, for Linux
  63.  Copyright (C) 1985, 2004,
  64.   Trustees of Columbia University in the City of New York.
  65. Type ? or HELP for help.
  66. (/zenez/work/) C-Kermit>
  67.  
  68. ssh boyd@192.168.5.200
  69.  Closing connection
  70. Connecting via command "ssh -e none boyd@192.168.5.200"
  71.  Escape character: Ctrl-\ (ASCII 28, FS): enabled
  72. Type the escape character followed by C to get back,
  73. or followed by ? to see other options.
  74. ----------------------------------------------------
  75. boyd@192.168.5.200's password:
  76. Last login: Tue Oct 17 12:10:02 2006 from 192.168.5.125
  77.  
  78. boyd@pos1 ~
  79. $ cd c:/kermit/hbboys/backoffice
  80.  
  81. boyd@pos1 /cygdrive/c/kermit/hbboys/backoffice
  82. $ ./kermit
  83.  IBM-PC MS-DOS Kermit: 3.16  4 May 1999
  84. Copyright (C) Trustees of Columbia University 1982, 1999.
  85.  
  86. Type ? or HELP for help
  87.  
  88.        MS-DOS Kermit: 3.16  4 May 1999 patch level 0
  89.  
  90.            File name:
  91.            File type:
  92.         Current path:
  93.   KBytes transferred:
  94.  
  95.  
  96.  
  97.  
  98.    Number of packets:
  99.        Packet length:
  100.    Number of retries: 0
  101.           Last error:
  102.         Last message:
  103.            Receiving: In progress     113          2
  104. 12          113          2DATA01.SDFTEXT, Transparent to CP43794
  105.   30          451          6789102
  106. ....
  107.  
  108. till all the files are done.  The same happens with ssh to the machine.
  109.  
  110. $ exit
  111. logout
  112. Connection to 192.168.5.200 closed.
  113.  
  114. Communications disconnect (Back at linux-aostester.aos)
  115. ----------------------------------------------------
  116. (/zenez/work/) C-Kermit>ssh boyd@192.168.5.200
  117. c:/kermit/hbboys/backoffice/kermit
  118.  Closing connection
  119. Connecting via command "ssh -e none boyd@192.168.5.200
  120. c:/kermit/hbboys/backoffice/kermit"
  121.  Escape character: Ctrl-\ (ASCII 28, FS): enabled
  122. Type the escape character followed by C to get back,
  123. or followed by ? to see other options.
  124. ----------------------------------------------------
  125. boyd@192.168.5.200's password:
  126.  IBM-PC MS-DOS Kermit: 3.16  4 May 1999
  127. Copyright (C) Trustees of Columbia University 1982, 1999.
  128.  
  129. Type ? or HELP for help
  130.  
  131. MS-Kermit>^A^A^A
  132. ?Text exceeded available buffer capacity
  133. MS-Kermit>
  134. Communications disconnect (Back at linux-aostester.aos)
  135. ----------------------------------------------------
  136. (/zenez/work/) C-Kermit>
  137.  
  138. So I really did not gain anything.  It does not matter whether I use
  139. ssh or kermit to talk to the machine I always get the same ...
  140.  
  141. > :When I try to run ssh -luser 192.168.0.200 c:/kermit/backoffice/kermit
  142. > :
  143. > : user@192.168.5.200's password:
  144. > :  IBM-PC MS-DOS Kermit: 3.16 4 May 1999
  145. > : Copyright (C) Trustees of Columbia University 1982, 1999.
  146. > :
  147. > : Type ? or HELP for help
  148. > :
  149. > : MS-Kermit>^A^A^A
  150. > : ?Text exceeded available buffer capacity
  151. > : MS-Kermit>
  152. > :
  153. > Why don't you use Kermit as your ssh client.  Then you can script it
  154. > to make the connection to the Windows ssh server, start MS-DOS Kermit
  155. > and interact with it, and then use Kermit protocol to transfer files
  156. > back to where you want them.  It's a two-step process but it can all be
  157. > done in a single script.
  158.  
  159. I tried and I still have the same problem.  That is why I thought I
  160. should eliminate kermit ssh to kermit.  Some of these machine are still
  161. running DOS with ancient ssh 1 server.  I am trying to get them to
  162. replace upgrade all the machines.  They will not give up MS OS's on
  163. these machines.  I have almost convinced them to buy new machines and
  164. Kermit 95, but they insiston my proving to them over a 90 day test
  165. trial that updated Kermit will work.  I see that I can only get a 21
  166. day test trial.  Unfortunately on the machine I have available I
  167. demo-ed kermit 95 a year ago and I can not get a new installation to
  168. work.  I removed Kermit 95 7 days before the trial was over but I guess
  169. something stays on the machine so I am unable to try it to see if just
  170. replacing the MS Kermit with Kermit 95 will work.  They also have the
  171. 90 demo mandated.  All have the exact same problem trying to automate
  172. them.  My original intention was to use kermit for everything.  I have
  173. to talk to about 30 different locations all connected via CISCO VPN's
  174.  
  175. >   http://www.columbia.edu/kermit/ssh.html
  176.  
  177. Thanks,
  178.  
  179. Boyd Gerber
  180. gerberb@zenez.com
  181.